SureCart\Models\Checkout B

Total Complexity 99
Dependencies 8
Dependents 8
Total lines 705
Lines of code 315
Logical lines of code 135
Comment lines 280
Methods 50
Properties 2

Methods 50

Method Rating Maintainability Complexity Lines of code
declineUpsell()
S
50 6 29
offerUpsell()
S
51 6 26
offerBump()
S
51 6 26
getHumanDiscountAttribute()
S
61 5 12
cancel()
S
52 4 25
manuallyPay()
S
52 4 25
getHumanDiscountWithDurationAttribute()
S
57 4 16
getLineItemsCountAttribute()
S
62 3 12
getConvertedTotalAmountAttribute()
S
71 3 6
getBumpDisplayAmountAttribute()
S
77 2 3
getShippingDisplayAmountAttribute()
S
77 2 3
getAmountDueDisplayAmountAttribute()
S
77 2 3
getPaidAtDateAttribute()
S
78 2 3
setWriteAttributes()
S
70 2 6
getHasRecurringAttribute()
S
66 2 9
getBillingAddressDisplayAttribute()
S
71 2 6
getDiscountDisplayAmountAttribute()
S
77 2 3
getRemainingAmountDueDisplayAmountAttribute()
S
77 2 3
getSubtotalDisplayAmountAttribute()
S
77 2 3
getDiscountsDisplayAmountAttribute()
S
77 2 3
getTaxReverseChargedDisplayAmountAttribute()
S
77 2 3
getDiscountsDisplayAttribute()
S
77 2 3
getTrialDisplayAmountAttribute()
S
77 2 3
getNetPaidDisplayAmountAttribute()
S
77 2 3
getRefundedDisplayAmountAttribute()
S
77 2 3
getFullDisplayAmountAttribute()
S
77 2 3
getTaxInclusiveDisplayAmountAttribute()
S
79 1 3
getPaidDisplayAmountAttribute()
S
79 1 3
getShippingAddressRequiredAttribute()
S
78 1 3
getProrationDisplayAmountAttribute()
S
79 1 3
getTaxExclusiveDisplayAmountAttribute()
S
79 1 3
getCurrentCurrencyAttribute()
S
81 1 3
getAmountDueDefaultCurrencyDisplayAmountAttribute()
S
78 1 3
getAppliedBalanceDisplayAmountAttribute()
S
79 1 3
getCreditedBalanceDisplayAmountAttribute()
S
79 1 3
__construct()
S
76 1 4
setRecommendedBumpsAttribute()
S
79 1 3
setLineItemsAttribute()
S
79 1 3
getIPAddress()
S
78 1 3
update()
S
77 1 4
create()
S
77 1 4
setCurrentUpsellAttribute()
S
79 1 3
setUpsellFunnelAttribute()
S
79 1 3
getIsInstallmentAttribute()
S
80 1 3
getShowConvertedTotalAttribute()
S
79 1 3
getTotalScratchDisplayAmountAttribute()
S
78 1 3
getTotalSavingsDisplayAmountAttribute()
S
79 1 3
getTotalDisplayAmountAttribute()
S
79 1 3
getScratchDisplayAmountAttribute()
S
78 1 3
getTaxDisplayAmountAttribute()
S
79 1 3